import request from '@/utils/request'

export function Translate(args) {
  return request({
    url: `/eco/api/baidutranslate/`,
    headers: { 'content-type': 'application/json' },
    method: 'POST',
    data: JSON.stringify(args),
    timeout: 10000
  })
}
